package com.kxn.service.impl;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import com.kxn.service.HelloWorld;

@WebService(endpointInterface="com.kxn.service.HelloWorld")
@SOAPBinding(style=Style.RPC)
public class HelloWorldImpl implements HelloWorld{

	public String sayHello(String text) {
        System.out.println("sayHi called");
        return "Hello " + text;
    }

}
